configure bgp peer-group weight

configure bgp peer-group peer-group-name weight weight

Description

Configures the weight for the peer group and all the neighbors of the peer group.

Syntax Description

peer-group-name Specifies a peer group.
weight Specifies a BGP peer group weight. Range is 0 to 65,535.

Default

N/A.

Usage Guidelines

BGP selects routes based on the following precedence (from highest to lowest):
  • higher weight

  • higher local preference

  • shortest length (shortest AS path)

  • lowest origin code

  • lowest MED

  • route from external peer

  • lowest cost to Next Hop

  • lowest routerID

This command applies to the current VR or VRF context.

Example

The following command configures the weight for the peer group outer and its neighbors:

configure bgp peer-group outer weight 5

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the Switch Engine v33.1.1 Licensing Guide document.